package com.china.lottery.listener.dao.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

@Entity
@Table(name = "TB_SP_JCZQS")
public class TB_SP_JCZQ implements java.io.Serializable {

	private int cid;
	private String cGameId;
	private String cItemId;
	private Date cAddDate;
	private String cValue;
	private String cName;
	private Date cIndate;
	private String ctype;
	private String cvs;

	@Id
	public int getCid() {
		return cid;
	}

	public void setCid(int cid) {
		this.cid = cid;
	}

	@Column(name = "CGAMEID", length = 20)
	public String getcGameId() {
		return cGameId;
	}

	public void setcGameId(String cGameId) {
		this.cGameId = cGameId;
	}

	@Column(name = "CITEMID", length = 20)
	public String getcItemId() {
		return cItemId;
	}

	public void setcItemId(String cItemId) {
		this.cItemId = cItemId;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "CADDDATE")
	public Date getcAddDate() {
		return cAddDate;
	}

	public void setcAddDate(Date cAddDate) {
		this.cAddDate = cAddDate;
	}

	@Column(name = "CVALUE", length = 2000)
	public String getcValue() {
		return cValue;
	}

	public void setcValue(String cValue) {
		this.cValue = cValue;
	}

	@Column(name = "CNAME", length = 20)
	public String getcName() {
		return cName;
	}

	public void setcName(String cName) {
		this.cName = cName;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "CINDATE")
	public Date getcIndate() {
		return cIndate;
	}

	public void setcIndate(Date cIndate) {
		this.cIndate = cIndate;
	}

	@Column(name = "CTYPE", length = 20)
	public String getCtype() {
		return ctype;
	}

	public void setCtype(String ctype) {
		this.ctype = ctype;
	}

	@Column(name = "CVS", length = 100)
	public String getCvs() {
		return cvs;
	}

	public void setCvs(String cvs) {
		this.cvs = cvs;
	}
	public TB_SP_JCZQ() {
		super();
		// TODO Auto-generated constructor stub
	}

	public TB_SP_JCZQ(int cid, String cGameId, String cItemId, Date cAddDate,
			String cValue, String cName, Date cIndate, String ctype, String cvs) {
		super();
		this.cid = cid;
		this.cGameId = cGameId;
		this.cItemId = cItemId;
		this.cAddDate = cAddDate;
		this.cValue = cValue;
		this.cName = cName;
		this.cIndate = cIndate;
		this.ctype = ctype;
		this.cvs = cvs;
	}

}
